import request from '@/utils/request'
export default {
  getResource(id) {
    return request({
      url: `/eduservice/resource/getByCourseId/${id}`,
      method: 'get'
    })
  }
}